<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class mresource extends MY_Model {

    var $theme_data = array(
        'layout_main' => 'layout',
        'left' => 'include/leftcp',
    );
    public $mytable = "resource";
    public $primaryKey = "RES_ID";
    public $resCode = "RESOURCE";

    function __construct() {
        parent::__construct();
    }

    function field() {
		$fieldData = array();
		$fieldData['RESG_ID'] = '';
		$fieldData['RES_CODE'] = '';
		$fieldData['RES_NAME'] = '';
		$fieldData['RES_LINK'] = '';
		$fieldData['RES_ORDER'] = 0;
		$fieldData['RES_NOTE'] = '';
		$fieldData['RES_ICON'] = '';
		$fieldData['RES_STATUS'] = 1;
		return $fieldData;
    }
	
}

?>